package com.example.wechat114.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.example.wechat114.entity.HurlJson;
import com.example.wechat114.mapper.HurlJsonMapper;
import com.example.wechat114.service.HujService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HujServiceImpl implements HujService {
    @Autowired
    private HurlJsonMapper hurlJsonMapper;


    @Override
    public String add(HurlJson hurlJson) {
        if (hurlJson!=null){
            hurlJsonMapper.insertSelective(hurlJson);
        }

        return "ok";
    }
}
